package com.hedonihilist.example.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @description:
 * @author: z
 * @time: 2021/9/13 上午12:27
 */
@Controller
@RequestMapping("/")
public class MainController {

    @GetMapping("/")
    public String home() {
        return "index";
    }
}
